package com.gsnd.gsnd21study.mapper;

import com.gsnd.gsnd21study.entity.DRO.RoleAndUser;
import com.gsnd.gsnd21study.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.List;

/**
* @author lenovo
* @description 针对表【sys_role(角色)】的数据库操作Mapper
* @createDate 2024-05-23 09:37:34
* @Entity com.gsnd.gsnd21study.entity.SysRole
*/
@Mapper
public interface SysRoleMapper {
    //根据id查询单个角色，并且显示该角色下的所有用户
    RoleAndUser selectRoleAndUserByRoleId(Long roleId);
}




